var activate = function(index) {
	var $point_arr, $progress, active, max, tracker;
	var date = new Date();
	$point_arr = $('[data-point]');
  	$progress = $('.progress').first();
  	max = $point_arr.length - 1;
	tracker = active = 0;
    if (index !== active) {
      active = index;
      return $progress.css('width', (index /max * 100) + "%");
    }
  };
  /**
   * 异常画线
   *  //TODO:位置设置未做,目前不需要
   * @param from 开始位置
   * @param to 结束位置
   * @returns
   */
  var exception = function(from,to){
	var leftLine,botLine,rightLine;
	leftLine = $('#leftline');
	leftLine.css('width','8px');
	leftLine.css('top','0px');
	leftLine.css('height','60px');
	leftLine.css('left','25%');

	botLine = $('#botline');
	botLine.css('width','75%');
	botLine.css('top','60px');
	botLine.css('height','8px');
	botLine.css('left','25%');
	
	lineInfo = $('#lineinfo');
	lineInfo.css('top','10px');
	lineInfo.css('left','40%');
	
	rightLine = $('#rightline');
	
	rightLine.css('width','8px');
	rightLine.css('top','0px');
	rightLine.css('height','68px');
	rightLine.css('left','100%');
};